package com.ruoyi.worker.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName: EmploymentPlan
 * @Description:计划用工名单
 * @Author: 刘松山
 * @Date: 2021/9/12 10:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EmploymentPlan extends BaseEntity {

    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "姓名", width = 15)
    private String workerName;
    @Excel(name = "性别", replace = { "男_1", "女_2" })
    private Integer sex;
    @Excel(name = "身份证", width = 25)
    private String idCard;
    @Excel(name = "联系电话", width = 20)
    private String phoneCode;

    private Double salary;
    @Excel(name = "招聘渠道", width = 30)
    private String companyName;

    private Integer timeShift;

    @Excel(name = "班次", width = 15)
    private String timeShiftName;

    private String group;

    @Excel(name = "岗位", width = 15)
    private String groupName;

    @Excel(name = "备注", width = 15)
    private String remark;


    @Excel(name = "出勤日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date workTime;
    @Excel(name = "用工需求单")
    private String orderCode;

    //导入次数
    private Integer importNum;

    private Integer companyId;

    //班组（岗位） 卸车岗
    private String groupCode;
    //来源标记 1 导入 2 小程序报名
    private int   sourceFlag;
    //是否签到 1 未签到 2 已签到
    private int status;
}
